﻿
namespace System.Linq.Functional
{
    class IImmutableStackExamples
    {
        static void Example()
        {
            // Add to stack
            var stack = ImmutableStack<int>.Empty;
            stack = stack.Push(3);
            stack = stack.Push(5);
            stack.ForEach(Console.WriteLine);
        }
    }
}
